package com.ysu.his.admin.service;

import com.github.pagehelper.PageInfo;
import com.ysu.his.dto.DepartmentDto;
import com.ysu.his.entity.user.Department;
import com.ysu.his.dto.UserDepartmentDto;
import com.ysu.his.vo.UserVo;

import java.util.List;

public interface DepartmentService
{

    PageInfo<Department> getDepartmentByPage(Integer page, Integer limit, DepartmentDto departmentDto);

    void addDepartment(Department department);

    List<UserVo> getDoctorByDepartmentId(Long departmentId);

    void addDoctorToDepartment(UserDepartmentDto userDepartmentDto);

    List<Department> getAllDepartment();


}
